package ${convertPackageName};


import ${voPackageName}.${voName};
import ${dtoPackageName}.${dtoName};
import ${entityPackageName}.${entityName};
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
* @Description: ${entityName}Convert类
* @author ${authorName}
* @date ${currentTime}
*/
@Mapper
public interface ${entityName}Convert {
        ${entityName}Convert INSTANCE = Mappers.getMapper(${entityName}Convert.class);

        ${voName} convert(${entityName} entity);

        ${entityName} convert(${voName} vo);

        List<${voName}> convertToVOList(List<${entityName}> list);

        List<${entityName}> convertToPOList(List<${voName}> list);

}